#ifndef PLOTVIEWCONTROL_H
#define PLOTVIEWCONTROL_H

#include "mainwindow.h"
#include "qwt_plot_curve.h"

#include <QString>
#include <QObject>


class PlotViewControl : public QObject
{
    Q_OBJECT
public:
    static PlotViewControl *GetInstance();
    static void DeleteInstance();
    void PlotTest(void);
    void Send();

protected:
    explicit PlotViewControl(QObject *parent = 0);

signals:
    void UpdateView(QwtPlotCurve *);

private:
    static PlotViewControl *pInstance;
    QwtPlotCurve *curve;

};

#endif // PLOTVIEWCONTROL_H